package com.ruoyi.data.service;

import com.ruoyi.data.domain.*;
import java.util.List;

public interface IDataService {
    int uploadData(DataInfo data);
    List<DataInfo> listAllData();
    int grantPermission(DataPermission permission);
    int revokePermission(Long permissionId);
    int submitAccessRequest(DataAccessRequest request);
    int approveRequest(Long requestId);
    int rejectRequest(Long requestId);
}
